package com.example.aigc_education.constant;

public class CacheConstants {

    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * 短信验证码 redis key
     */
    public static final String SMS_CODE_KEY = "sms_codes:";

    /**
     * 数字验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 待办事项已完成情况 redis key
     */
    public static final String TODO_COMPLETE_KEY = "todo_complete:";

    /**
     * 用户签到 redis key
     */
    public static final String USER_SIGN_KEY = "user_sign_key:";

    /**
     * 待办计时状态 redis key
     */
    public static final String CHECKLIST_TIMER_KEY = "checklist_timer_key:";

    /**
     * 用户的生成任务 redis key
     */
    public static final String USER_GEN_QUIZ_KEY = "user_gen_quiz_key:";

    public static final String USER_GEN_FLASH_KEY = "user_gen_flash_key:";

    /**
     * 用户聊天记录 redis key （使用userId和会话Id，来保持数据唯一性）
     */
    public static final String CHAT_RECORDS_KEY = "chat_records_key:%s:%s";
}
